// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '../theme/index.css'
import './assets/style/main.css'
import api from './api'
import store from './store/store'
import fengzhuang from './assets/js/fengzhuang'
import './assets/font/iconfont.css'
import qinqiu from './request/http';

var bus = new Vue();
Vue.prototype.bus = bus;

Vue.prototype.$api = api; // 接口管理
Vue.prototype.$fz = fengzhuang; // 将封装功能挂载到vue的原型上
Vue.config.productionTip = false;
Vue.prototype.$qinqiu = qinqiu;
Vue.use(ElementUI);

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})
